package lambda;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author jiangwz
 * @create 2021/6/8.
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Order {

    private Integer id;
    private Integer orderStatus;
    private Integer orderType;
    private Date createDate;
    private String orderStr;

    public Order(Integer id, Integer orderStatus, Integer orderType, Date createDate) {
        this.id = id;
        this.orderStatus = orderStatus;
        this.orderType = orderType;
        this.createDate = createDate;
    }

}
